package com.wj.dubbo.service.crawler.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;

/**
 * <p>
 * 社保基础信息
 * </p>
 *
 * @author lee
 * @since 2017-04-28
 */
@Data
@TableName("om_crawler_social_info")
public class CrawlerSocialInfo extends Model<CrawlerSocialInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	private String id;
    /**
     * om_crawler_sf_manager表Id
     */
	@TableField("manager_id")
	private String managerId;
    /**
     * 社保缴纳单位
     */
	@TableField("social_company")
	private String socialCompany;
    /**
     * 社保基数
     */
	@TableField("social_base")
	private BigDecimal socialBase;
    /**
     * 缴纳状态
     */
	@TableField("pay_status")
	private String payStatus;
    /**
     * 最近缴纳年月，格式yyyyMM
     */
	@TableField("pay_year_month")
	private String payYearMonth;
    /**
     * 连续缴纳月个数
     */
	@TableField("pay_month_count")
	private Integer payMonthCount;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
